<?php
/**
 * My_Pear class
 *                   
 * @author nguyennt
 **/
 
class My_Pear
{                                               
    public static function getInstanceSpreadsheet()
    {
        set_include_path(get_include_path() . PATH_SEPARATOR . LIBRARY_PATH . "/Pear");
        require_once LIBRARY_PATH . '/Pear/Spreadsheet/Excel/Writer.php';
        return new Spreadsheet_Excel_Writer();
    }
               
    
}
